package com.bilgeadam.hibernate.program;

import java.io.Serializable;

import javax.persistence.Embeddable;

/**
 * 
 * @author Bora SAYINER
 * @since Nov 15, 2014 4:21:16 PM
 * @version 1.0.0
 */
@Embeddable
public class Address implements Serializable {

	private String city;
	private String zipCode;

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	@Override
	public String toString() {
		return "Address [city=" + city + ", zipCode=" + zipCode + "]";
	}

}
